<!doctype>
<html>
	<head>
		<script>
const fn = ({a,b}) => {
	return {
		a: a+1,
		b:b+1
	}
}

var obj = {a:0,b:10,c:100}
const c = fn(obj);
console.log(c)
alert(JSON.stringify(obj))
alert(JSON.stringify(c))

		</script>
	</head>
	<body>
		
	</body>
</html>